package com.system.dao;

import com.system.entity.Food;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface IFoodDao {

    List<Food> selectAllFood();

    Food selectFoodById(int id);

    boolean insertFood(Food food);

    boolean updateFood(Food food);

    boolean deleteFoodById(int id);
}
